//
// Created by ChenJi on 2020/12/4.
//

#ifndef FDBJQ_RADER_H
#define FDBJQ_RADER_H

#endif //FDBJQ_RADER_H
#include "main.h"

uint16_t fetch_current_distance();
uint16_t fetch_current_single();
__weak void onRaderSwapState(uint8_t state);
__weak void onRaderLeave(uint16_t distance,uint16_t single);
__weak void onRederFind(uint16_t distance,uint16_t single);
__weak void onRederUpdate(uint16_t distance,uint16_t single);
uint8_t fetch_state();
void init_rader();
void rader_power_on();
void rader_power_off();